#include "connection.h"

Connection::Connection(uint32 fromNode, uint32 toNode)
	: fromNode_(fromNode),
	toNode_(toNode),
	cost_(1.0)
{

}

Connection::~Connection()
{

}

void Connection::setCost(const uint32 cost)
{
	cost_ = cost;
}

const float Connection::getCost()
{
	return cost_;
}

const uint32 Connection::getFromNode()
{
	return fromNode_;
}

const uint32 Connection::getToNode()
{
	return toNode_;
}